/***************************************************************************
 * File name: EPubBasicContainerImp.h
 * Original author: caizhifei2003@163.com
 * Date: 2013.03.01
 ***************************************************************************/
#ifndef _EPUB_BASIC_CONTAINER_IMP_H_
#define _EPUB_BASIC_CONTAINER_IMP_H_

#include "IEPubBasicContainer.h"
#include <string>

class EPubBasicContainerImp : public IEPubBasicContainer
{
public:

	virtual EPUB_BasicFileType GetBasicFileType() const { return EPUB_BFT_META_INF_CONTAINER; }
	virtual EPubPointer<IEPubBuffer> Serialize() const;
	virtual EPUB_Result Deserialize(const EPubPointer<IEPubBuffer> buffer);

	virtual const char *GetRootFile() const { return m_RootFile.c_str(); }
	virtual void SetRootFile(const char *rootFile) { m_RootFile = rootFile; }

private:
	std::string					m_RootFile;
};


#endif // _EPUB_BASIC_CONTAINER_IMP_H_